﻿using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using Lavanderia.Entities;

namespace Lavanderia.Repository.Mapping
{
    public class CIERRE_CAJAMap:EntityTypeConfiguration<CIERRE_CAJA>
    {
        public CIERRE_CAJAMap()
        {
            // Primary Key
            this.HasKey(t => t.Id);

            // Properties

            // Table & Column Mappings
            this.ToTable("CIERRE_CAJA");
            this.Property(t => t.Id).HasColumnName("Id");
            this.Property(t => t.Fecha).HasColumnName("Fecha");
            this.Property(t => t.Total).HasColumnName("Total");
        }
    }
}
